

import React from 'react';
import { Card, Image, Upload, Row, Col } from 'antd';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
import { useIntl } from 'umi';
import './index.less'
 function Admin() {
  const intl = useIntl();

  const style = { background: '#0092ff', padding: '8px 0' };
  return (
    <PageHeaderWrapper
      content={intl.formatMessage({
        id: 'pages.admin.subPage.title',
        defaultMessage: 'This page can only be viewed by admin',
      })}
    >
      <Card>
      <Row gutter={16}>
      <Col className="gutter-row" span={6}>
      <Card>
      <Image
      width={200}
      src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
    />
      </Card>
      </Col>
      <Col className="gutter-row" span={6}>
      <Card>
      <Image
      width={200}
      src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
    />
      </Card>
      </Col>
      <Col className="gutter-row" span={6}>
      <Card>
      <Image
      width={200}
      src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
    />
      </Card>
      </Col>
      <Col className="gutter-row" span={6}>
      <Card>
      <Image
      width={200}
      src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
    />
      </Card>
      </Col>
    </Row>
      </Card>
 
    </PageHeaderWrapper>
  );
};

export default Admin;
